package com.umpay.dto.merBusi.req.bindcard;


import com.umpay.annotation.Pattern;
import com.umpay.dto.merBusi.req.CommonBusiReq;
import org.hibernate.validator.constraints.NotEmpty;

/* ******************  类说明  *********************
 * class       :  AgreementConfirmBusiReq
 * @author     :  sxl
 * @date       :  2018年8月21日 下午7:12:55
 * @version    :  1.0  
 * description :  商业委托支付签约确认请求类
 * @see        :                        
 * ************************************************/   
public class AgreementConfirmBusiReq extends CommonBusiReq{
	
	/**
	 * 商户号
	 */
	@NotEmpty(message = "商户号不能为空")
	@Pattern(message="商户号格式不正确")
	private String merId;
	
	/**
	 * 联动订单号
	 */
	@NotEmpty(message = "联动订单号不能为空")
	@Pattern(message="联动订单号格式不正确")
	private String tradeNo;
	
	/**
	 * 短信验证码
	 */
	@NotEmpty(message = "短信验证码不能为空")
	@Pattern(message="短信验证码格式不正确")
	private String verifyCode;

	public String getMerId() {
		return merId;
	}

	public void setMerId(String merId) {
		this.merId = merId;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	public String getVerifyCode() {
		return verifyCode;
	}

	public void setVerifyCode(String verifyCode) {
		this.verifyCode = verifyCode;
	}

	@Override
	public String toString() {
		return super.toString() + "AgreementConfirmBusiReq [merId=" + merId + ", tradeNo=" + tradeNo + ", verifyCode=" + verifyCode + "]";
	}

}
